package com.hl.service;


import com.hl.domain.SearchQuestion;
import com.hl.mapper.SearchQuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SearchQuestionService {
    @Autowired
    private SearchQuestionMapper searchQuestionMapper;

    public List<SearchQuestion> searchQuestions(String query) {
        return searchQuestionMapper.searchQuestions(query);
    }

}
